<#include "../../page.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
    <th>年度</th>
        <th>项目</th>
        <th>类型</th>
    <#list 12..0 as t>
        <#if (weekNum-t>13 && weekNum-t<=26)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-13!''}</th>
        <#elseif (weekNum-t>26 && weekNum-t<=39)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-26!''}</th>
        <#elseif (weekNum-t>39)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-39!''}</th>
        <#else>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t!''}</th>
        </#if>
    </#list>
  </tr>
    </thead>
<tbody>
<#if cwXgpgsTable.rows??>
<#list cwXgpgsTable.rows as cwXgpg>
    <tr>
      <td>${cwXgpg.nian!''}年</td>
            <td>${cwXgpg.projects!''}</td>
            <td>${cwXgpg.vipTypes!''}</td>
        <td style="text-align:right">${cwXgpg.ak1!''}</td>
        <td style="text-align:right">${cwXgpg.ak2!''}</td>
        <td style="text-align:right">${cwXgpg.ak3!''}</td>
        <td style="text-align:right">${cwXgpg.ak4!''}</td>
        <td style="text-align:right">${cwXgpg.ak5!''}</td>
        <td style="text-align:right">${cwXgpg.ak6!''}</td>
        <td style="text-align:right">${cwXgpg.ak7!''}</td>
        <td style="text-align:right">${cwXgpg.ak8!''}</td>
        <td style="text-align:right">${cwXgpg.ak9!''}</td>
        <td style="text-align:right">${cwXgpg.ak10!''}</td>
        <td style="text-align:right">${cwXgpg.ak11!''}</td>
        <td style="text-align:right">${cwXgpg.ak12!''}</td>
        <td style="text-align:right">${cwXgpg.ak13!''}</td>
    </tr>
</#list>
</#if>
    </tbody>
</table>
<#if cwXgpgsTable??>
<@page table=cwXgpgsTable formId="search_cwXgpg_table"/>
</#if>